package cn.zlb.frame.domain.pay.service;

import cn.zlb.frame.domain.pay.model.PayAggregateRoot;
import cn.zlb.frame.domain.pay.model.entity.PaymentEntity;

/**
 * @author yangjie.deng@resico.cn
 * @date 2023-11-09 14:03:44
 * @describe class responsibility
 */
public interface IPayDomainService {
    /**
     *  订单支付
     *
     * @param aggregateRoot 请求参数
     * @return              返回支付结果
     */
    PaymentEntity pay(PayAggregateRoot aggregateRoot);
}
